home *** CD-ROM | disk | FTP | other *** search
/ Shocking The Web CD-ROM / SHOCK_CD.ISO / mac / Software Demos / Macromedia / Fontographer / Fontographer® 4.1 Demo / FontographerÆ 4.1 Demo.rsrc / STR#_6025.txt < prev    next >
Encoding:
Text File  |  1994-12-15  |  1.4 KB  |  67 lines

  1. /ColumnDict 5 dict def
  2.  
  3. ColumnDict begin
  4.  
  5. /_column 0 def
  6.  
  7. /_column_array[0]def
  8.  
  9. /sub_col_array[0]def
  10.  
  11. /num_of_columns 1 def
  12.  
  13. /num_sub_cols 0 def
  14.  
  15. end
  16.  
  17. /SymChr[
  18.  
  19. 176 0 0 0 0 0 0 210 211 212 0 0 185 0 0
  20.  
  21. 165 177 163 179 0 109 182 229 213 112 242 0 0 87 0 0
  22.  
  23. 0 0 216 214 0 187 68 0 0 0 0 0 0 0 0 0
  24.  
  25. 0 0 0 0 0 0 184 224]def
  26.  
  27. /Init_Columns{ColumnDict begin /_column 0 def end _GetLM _GetTM moveto}B
  28.  
  29. /Get_Num_Sub_Cols{ColumnDict /num_sub_cols get}B
  30.  
  31. /Get_Sub_Col{ColumnDict begin sub_col_array exch get end}B
  32.  
  33. /Get_Col{ColumnDict begin _column_array _column get end}B
  34.  
  35. /Col_Pos_X{Get_Col _Per_MoveX}B
  36.  
  37. /Sub_Col_Pos_X{Get_Sub_Col dup xcheck{exec}if _Per_RMoveX}B
  38.  
  39. /Next_Column{ColumnDict begin /_column _column 1 add dup num_of_columns ge
  40.  
  41. {pop 0 showpage _DoPageHeader}if def _GetTM _GetLeading sub _MoveY end}B
  42.  
  43. /Next_Col_Line{_GetLeading neg _RMoveY currentpoint _GetBM le {Next_Column}if pop}B
  44.  
  45. /Set_Up_Columns{ColumnDict begin dup /_column_array xdf length /num_of_columns xdf
  46.  
  47. dup /sub_col_array xdf length 1 sub /num_sub_cols xdf Init_Columns end}B
  48.  
  49. /MapChar{dup 161 sub dup 0 ge exch 55 lt and
  50.  
  51. {dup 161 sub SymChr exch get dup 0 ne{exch}if 0 ne}
  52.  
  53. {false}ifelse}B
  54.  
  55. /ColumnShow{Next_Col_Line 0 1 Get_Num_Sub_Cols
  56.  
  57. {Col_Pos_X Sub_Col_Pos_X gsave show_proc grestore}for}B
  58.  
  59. /def_show_proc{
  60.  
  61. {MapChar{/Symbol findfont}{descFont}ifelse 10 scalefont setfont _IntToChar show}forall
  62.  
  63. }B
  64.  
  65. /show_proc /def_show_proc load def
  66.  
  67.